<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php $this->load->view('login'); exit();?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php $this->load->helper('url'); ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Register for Projectcode</title>
        <meta name="description" content="" />
        <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
        <!--script type="text/javascript" src="<?php echo base_url() ?>javascripts/jquery/jquery-1.6.2.min.js"></script-->
        <script type="text/javascript" src="<?php echo base_url() ?>javascripts/jquery/jquery-ui-1.8.16.custom.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url() ?>javascripts/validate.js"></script>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>stylesheets/style.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>stylesheets/jquery-ui-1.8.16.custom.css" media="screen" />
        <script>
	
            jQuery(function($){
                
                $( "#register_dateofbirth" ).datepicker({
                    yearRange: "-100:+0",
                    changeMonth: true,
                    changeYear: true,
                    dateFormat: "yy-mm-dd"
                });
            })	



        </script>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>stylesheets/globals.css" media="screen" />
    </head>
    <body>



        <form id="register" method="post" action="<?php echo site_url('login/goregister') ?>"> 

            <h1>Register for <strong>ProjectCode</strong> account!</h1>


            <div>
                <label for="register_name">Name<sup>*</sup></label> 
                <input type="text" name="name" id="register_name" class="field required" title="Please provide your name" />
            </div>

            <div>
                <label for="register_email">Email<sup>*</sup></label> 
                <input type="text" name="email" id="register_email" class="field required" title="Please provide your email" />
            </div>

            <div>
                <label for="register_username">Username<sup>*</sup></label> 
                <input type="text" name="username" id="register_username" class="field required" title="Please provide your username" />
            </div>			

            <div>
                <label for="register_password">Password<sup>*</sup></label>
                <input type="password" name="password" id="register_password" class="field required" title="Password is required" />
            </div>

            <div>
                <label for="register_confirmpassword">Confirm Password<sup>*</sup></label>
                <input type="password" name="confirmpassword" id="register_confirmpassword" class="field required" title="Password is required" />
            </div>

            <div>
                <label for="register_dateofbirth">Date of Birth<sup>*</sup></label> 
                <input type="text" name="dateofbirth" id="register_dateofbirth" class="field required" title="Please provide your Date of birth" />
            </div>

            <div>
                <label for="register_college">College<sup>*</sup></label> 
                <input type="text" name="college" id="register_college" class="field required" title="Please provide your College name" />
            </div>

            <div>
                <label for="register_occupation">Occupation<sup>*</sup></label> 
                <input type="text" name="occupation" id="register_occupation" class="field required" title="Please provide your Occupation" />
            </div>

            <div>
                <label for="register_whyprojectcode">Why ProjectCode?</label> 
                <textarea rows="4" cols="20" name="whyprojectcode" id="register_whyprojectcode" class="field" title="Please provide your Reason for joining our site."></textarea>
            </div>

            <div>
                <label for="register_aboutyou">About you</label> 
                <textarea rows="4" cols="20" name="aboutyou" id="register_aboutyou" class="field" title="Please provide some information about you."></textarea>
            </div>

            <div class="fsubmit">
                <input type="submit" id="formsubmit" class="formsubmit" value="Register"></input>   
            </div>
        </form>	

    </body>
</html>


